package com.jdc.entity;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.Json;
import java.util.Date;
import java.math.*;

@Table("t_train_experience")
public class TTrainExperience {
	/**
	* ID
	*/
	@Name
	@Column("id")
	@ColDefine(notNull=false, type=ColType.VARCHAR, width=32)
	@Comment(value="ID")
	private String id;
	/**
	* 
	*/
	@Column("memid")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String memid;
	/**
	* 机构名称
	*/
	@Column("institutions_name")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=100)
	@Comment(value="机构名称")
	private String institutionsName;
	/**
	* 就读开始时间
	*/
	@Column("starttime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="就读开始时间")
	private Date starttime;
	/**
	* 结束时间 为空表示至今
	*/
	@Column("endtime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="结束时间 为空表示至今")
	private Date endtime;
	/**
	* 培训课程
	*/
	@Column("train_course")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=100)
	@Comment(value="培训课程")
	private String trainCourse;
	/**
	* 
	*/
	@Column("createtime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="")
	private Date createtime;
	/**
	* 
	*/
	@Column("updatetime")
	@ColDefine(notNull=true, type=ColType.DATETIME, width=19)
	@Comment(value="")
	private Date updatetime;
	/**
	* 
	*/
	@Column("isdelete")
	@ColDefine(notNull=true, type=ColType.INT, width=10)
	@Comment(value="")
	private Integer isdelete;

	/**
	* ID
	*/
	public String getId() {
		return id;
	}
	/**
	* ID
	*/
	public void setId(String id) {
		this.id = id;
	}
	/**
	* 
	*/
	public String getMemid() {
		return memid;
	}
	/**
	* 
	*/
	public void setMemid(String memid) {
		this.memid = memid;
	}
	/**
	* 机构名称
	*/
	public String getInstitutionsName() {
		return institutionsName;
	}
	/**
	* 机构名称
	*/
	public void setInstitutionsName(String institutionsName) {
		this.institutionsName = institutionsName;
	}
	/**
	* 就读开始时间
	*/
	public Date getStarttime() {
		return starttime;
	}
	/**
	* 就读开始时间
	*/
	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}
	/**
	* 结束时间 为空表示至今
	*/
	public Date getEndtime() {
		return endtime;
	}
	/**
	* 结束时间 为空表示至今
	*/
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	/**
	* 培训课程
	*/
	public String getTrainCourse() {
		return trainCourse;
	}
	/**
	* 培训课程
	*/
	public void setTrainCourse(String trainCourse) {
		this.trainCourse = trainCourse;
	}
	/**
	* 
	*/
	public Date getCreatetime() {
		return createtime;
	}
	/**
	* 
	*/
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	* 
	*/
	public Date getUpdatetime() {
		return updatetime;
	}
	/**
	* 
	*/
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	* 
	*/
	public Integer getIsdelete() {
		return isdelete;
	}
	/**
	* 
	*/
	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	@Override
	public String toString() {
		return Json.toJson(this);
	}
}
